"""
@Author : 合肥一元数智教育科技有限公司
@Date :  2025/7/7 15:16
@Description : 

"""

from django.urls import path
from . import views

#   /dept/list      -> name      dept_list    命名路由
urlpatterns = [
    path('dept/list', views.dept_list, name='dept_list'),
    path('dept/add', views.dept_add, name='dept_add'),
    path('dept/edit/<int:id>', views.dept_edit, name='dept_edit'),
    path('dept/delete/<int:id>', views.dept_delete, name='dept_delete'),

    path('user/list', views.user_list, name='user_list'),
    path('user/add', views.user_add, name='user_add'),
    path('user/edit/<int:id>', views.user_edit, name='user_edit'),
    path('user/delete/<int:id>', views.user_delete, name='user_delete'),
    path('user/login', views.user_login, name='user_login'),
    path('user/logout', views.user_logout, name='user_logout'),
    path('user/personal/info', views.user_personal, name='user_personal'),
    path('user/personal/pwd', views.user_personal_pwd, name='user_personal_pwd'),

    path('emp/list', views.emp_list, name='emp_list'),
    path('emp/add', views.emp_add, name='emp_add'),
    path('emp/edit/<int:id>', views.emp_edit, name='emp_edit'),
    path('emp/delete/<int:id>', views.emp_delete, name='emp_delete'),
    path('emp/page', views.emp_page, name='emp_page'),

]
